import { useResponseSuccess } from '~/utils/response';

export default eventHandler(async (event) => {
  const id = getRouterParam(event, 'id');

  // 模拟删除模板
  return useResponseSuccess({
    message: '删除成功',
    data: { id },
  });
});
